package com.ybkj.o2o.zhuanche.service;

import java.util.List;

import com.ybkj.o2o.zhuanche.common.query.InsuranceQuery;
import com.ybkj.o2o.zhuanche.entity.Insurance;


public interface InsuranceService {
	int save(Insurance insurance);
	
	List<Insurance> selectByCarId(InsuranceQuery insuranceQuery);

	Long countByCarId(InsuranceQuery insuranceQuery);

	int deleteById(Long id, String appKey);

	Insurance findById(Long id, String appKey);

	List<Insurance> findByCarId(Long id, String appKey);
}
